﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TasksAdmin.aspx.cs" Inherits="admin_CreateFormAdmin" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="heb"  dir="rtl">
<head id="Head1" runat="server">
    <link rel="shortcut icon" type="image/jpg" href="../images/logo/logo_feas.jpg" />

<title>Real estate</title>
<script src="../js/html5.js"></script>

<!--<script type="text/javascript" src="../js/sticky_footer.js"></script>-->
<link rel="stylesheet" type="text/css" href="../css/master.css"/>
<link rel="stylesheet" type="text/css" href="../css/dropBox.css"/>
<link rel="stylesheet" type="text/css" href="../css/menu.css"/>
<link rel="stylesheet" type="text/css" href="../css/tooltip.css"/>
<link rel="stylesheet" type="text/css" href="../css/buttons.css"/>
<link rel="stylesheet" href="../css/validationEngine.jquery.css" type="text/css" media="screen" title="no title" charset="utf-8" />
 <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css"
        rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script>
    <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css" 
            rel="stylesheet" type="text/css"/>
   
    <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css" rel="Stylesheet" type ="text/css" />
       <%--script type="text/javascript">
           $(document).ready(function () {
               $('#Save').click(function () {

                   $.ajax({


                       type: 'POST',
                       contentType: "application/json; charset=utf-8",
                       url: "add_new_client.aspx/InsertMethod",





                       data: "{'f_name':'" + document.getElementById('txtfname1').value + "', 'm_name':'" + document.getElementById('txtmname').value + "', 'l_name':'" + document.getElementById('txtlname1').value + "', 'd_o_b':'" + document.getElementById('txtdob1').value + "', 'occu':'" + document.getElementById('txtoccupation').value + "', 'h_no':'" + document.getElementById('txthno').value + "', 'city':'" + document.getElementById('txtcity').value + "', 'street':'" + document.getElementById('txtstreet').value + "','ssn':'" + document.getElementById('txtssn').value + "', 'zip_code':'" + document.getElementById('txtzip').value + "', 'country':'" + document.getElementById('txtcountry').value + "', 'email':'" + document.getElementById('txtemail').value + "', 'ph_no':'" + document.getElementById('txtphno').value + "','cat':'" + document.getElementById('ddlcategory').value + "','c_cat':'" + document.getElementById('ddlcategory').value + "','c_cat':'" + document.getElementById('DropDownList1').value + "','cat1':'" + document.getElementById('txtcatname').value + "'}",
                       async: false,

                       success: function (response) {
                           $('#txtfname1').val('');
                           $('#txtmname').val('');
                           $('#txtlname1').val('');
                           $('#txtdob1').val('');
                           $('#txtoccupation').val('');
                           $('#txtcity').val('');
                           $('#txtstreet').val('');
                           $('#txtssn').val('');
                           $('#txtzip').val('');
                           $('#txtcountry').val('');
                           $('#txtemail').val('');
                           $('#txtphno').val('');
                           $('#ddlcategory').val('');
                           $('#DropDownList1').val('');
                           $('#txtcatname').val('');
                           alert("Record Has been Saved in Database");
                       },
                       error: function ()
                       { console.log('there is some error'); }
                   });
               });
           });

    </script>--%>

  <script type="text/javascript">
      $(document).ready(function () {
          $('#Button2').click(function () {

              window.open("AdminCalender.aspx");
          });
      });

    </script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#student_permanent_address1").hide();
        $("#DropDownList4").change(function () {

            var x = $(this).val();
            
            if (x == "Custom type") {
                $("#student_permanent_address1").show();
            }
            else {
                $("#student_permanent_address1").hide();
            }

        });
    });
</script>  <style>
    #content 
    {
        	min-height:550px;
	background-color: #FFFFFF;
	background-image: url(../images/bg/contentbg.png);
	min-width: 82%;
	margin-right:221px;
	height:100%;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCC;
    }
    #leftcolumn {
	float: right;
	width: 220px;
	margin-left: -100%;
	min-height:550px;
	background-color: #FFF;
	background-image: url(../images/bg/sidebarbg.png);
	
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCC;
	height:100%;
	
}
    </style>
</head>
<body>
<form id="form_std_register" class="form_control" runat="server">

<div id="Div1" class="modal hide fade in" style="display: none; ">
        <div class="modal-header"> <a class="close" data-dismiss="modal">x</a>
          <h1 style="font-size:15px;padding:7px;font-weight:bold;">Notification's</h1>
        </div>
        <div class="modal-body1">
        <table id="Table2" class="model_popup_desgin">
  <tr>
    <td>Date of Creation</td>
    <td><p><asp:Label ID="Label5" runat="server" Text="Label" Visible="False"></asp:Label></p></td>
  </tr>
     <tr>
    <td>Last Updated Updated</td>
    <td><p><asp:Label ID="Label6" runat="server" Text="Label"></asp:Label></p></td>
  <td>Choose Agent</td>
      <asp:DropDownList ID="DropDownList3" runat="server" CssClass ="combobox " 
                Visible="False">
      </asp:DropDownList>
 
     
  <tr>
    <td>Add Another Agente Agent</td>
       <asp:TextBox ID="TextBox2" runat="server" Visible="False"></asp:TextBox>
  </tr>
  <tr>
    <td></td>
  </tr>
</table>

          
        </div>
        <div class="modal-footer">  <asp:Button ID="Button1" runat="server" Text="cancel" CssClass="btn btn-success" />
           </div>
      </div>

   

   <div id="wrapper">
    <div class="ui-widget">
<div id="header"><a href="#"> <img src="../images/logo/logo_feas.png" alt="Logo" style="margin-top:7px;margin-left:7px;float:left;"> <img src="../images/logo/logo_feas2.png" alt="Logo" class="logo"></a>
    <div id="metaphors" align="right">
  
     
      <li id="btntheme"><a href="#"><span class="theme_icon"></span>Theme<span class="arrow"></span></a></li>
      <img src="../images/face1.png" class="user_icon">
      <li id="btnUser"><a href="#">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:label ID="Label2" runat="server" text="Label"></asp:label><span class="arrow"></span></a></li>
      <li><span class="logout_icon"></span>
           <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Logout</asp:LinkButton></li>
      <div id="box3" class="outerbox">
        <div id="box_inner34" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">email</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">email</div>
        </div>
      </div>
      <div id="box2" class="outerbox">
        <div id="box_inner3" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">alert</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">alert</div>
        </div>
      </div>
      <div id="box1" class="outerbox">
        <div id="box_inner1" class="innerbox">
          <div class="user_option1">
            <h4 class="opt_heading">Menu Bar</h4>
            <span id="show_menu" class="style">on</span><span id="hide_menu" class="style2">off</span></div>
        </div>
      </div>
      <div id="box" class="outerbox">
        <div id="box_inner" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">Edit Profile</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">Change Password</div>
        </div>
      </div>
    </div>
    <!--End of the metaphor tag--> 
    
  </div>
  <!--End of the Header tag-->
  <div id="contentliquid">
    <div id="content">
      <div id="titalbar"> 
        <h1>Task Details</h1>
        
      </div>
      <div id="content_placeholder">
      
          <div id="student_add" class="form_placeholder_std">
            <div id="student_title" class="form_title"><img src="../images/icons/user.png">
              <h2>Tasks/Notes</h2>
            </div>
            <table>
              <tr>
                <td>Subject</td>
                <td>  <asp:DropDownList ID="DropDownList4" runat="server" 
                     style="float:left;margin-top:0px;margin-left:10px;"   CssClass="combobox"  onChange="show_pnl()"
                     ClientIDMode="Static" >
                    <asp:ListItem>General Update</asp:ListItem>
                   <asp:ListItem>Conversation</asp:ListItem>
                   <asp:ListItem>Meeting has been set</asp:ListItem>
                   <asp:ListItem>set a meeting</asp:ListItem>
                   <asp:ListItem>to call</asp:ListItem>
                   <asp:ListItem>came to office</asp:ListItem>
                   <asp:ListItem>seen</asp:ListItem>
                    <asp:ListItem>Presentation</asp:ListItem>
                   <asp:ListItem>recruit</asp:ListItem>
                   <asp:ListItem>signed</asp:ListItem>
                   <asp:ListItem>exclusivity</asp:ListItem>
                   <asp:ListItem>ended</asp:ListItem>
                   <asp:ListItem>show property</asp:ListItem>
                   <asp:ListItem>send email</asp:ListItem>
                   <asp:ListItem>send sms</asp:ListItem>
                   <asp:ListItem>waiting for payment</asp:ListItem>
                   <asp:ListItem>dont want to pay</asp:ListItem>
                   <asp:ListItem>checked up</asp:ListItem>
                   <asp:ListItem>commision paid</asp:ListItem>
                   <asp:ListItem>open house</asp:ListItem>
                    <asp:ListItem>Joint Venture</asp:ListItem>
                   <asp:ListItem>Custom type</asp:ListItem>
                
		 </asp:DropDownList></td>
               
              </tr>
             
           
              </table>
                 <div id="student_permanent_address1" class="form_placeholder_std" style="margin-top:0;border-top:none;">
             <div id="Div2" class="form_title"><img src="../images/icons/email.png">
              <h2>Category information</h2>
            </div>
            <table>
              <tr>
                <td >Category Name <span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtcatname" runat="server" ClientIDMode="Static" CssClass="validate[optional,length[1,20]]"></asp:TextBox></td>
              
                                
            </table>
			
          </div>
              
              

          </div>
             <div id="Div3" class="form_placeholder_std" style="margin-top:0;border-top:none;">
            <div id="Div4" class="form_title"><img src="../images/icons/phone.png">
              <h2 style="float:right;">Status</h2>  
            </div>
  <table>
                 <tr>
		<td>Status<span style="color:#F00;"></span></td>
                <td> <asp:DropDownList ID="DropDownList5" runat="server" 
                     style="float:left;margin-top:0px;margin-left:10px;"   CssClass="combobox" 
                     ClientIDMode="Static" >
                    <asp:ListItem>Rapid</asp:ListItem>
                   <asp:ListItem>Open</asp:ListItem>
                   <asp:ListItem>Completed</asp:ListItem>
           
                
		 </asp:DropDownList></td>       </tr>
             
                  </table>
          </div>
           <div id="Div5" class="form_placeholder_std" style="margin-top:0;border-top:none;">
            <div id="Div6" class="form_title"><img src="../images/icons/phone.png">
              <h2 style="float:right;">Appointment/Tasks</h2>  
            </div>
  <table>
                 <tr>
                 <td>Appoint Task</td>
		<td>  <asp:Button ID="Button2" runat="server" Text="Appoint Tasks" CssClass="btn" 
                onclick="Button2_Click"/></td>       </tr>
             
                  </table>
          </div>
         
          <div id="student_current_address" class="form_placeholder_std" style="margin-top:0;border-top:none;">
            <div id="student_title1" class="form_title"><img src="../images/icons/phone.png">
              <h2 style="float:right;">Comment Box and Decription</h2>
                
             
              
            </div>
          <table>
              <tr>
                <td >Description <span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="TextBox3" runat="server" TextMode="MultiLine"></asp:TextBox> </td>
            
              </table>
          </div>
         
		 
		
              
          
        
         
          <div id="student_submit" class="form_placeholder_std" style="margin-top:0;border-top:none;border-bottom:none;">
            <div id="student_title4" class="form_title">
              <div style="margin-left:27px;margin-top:2px;">
         <asp:Button ID="Save" runat="server" Text="Save & Continue" CssClass="btn btn-success" 
                      ClientIDMode="Static" onclick="Save_Click"/>
                <asp:Button ID="Cancel" runat="server" Text="Cancel" CssClass="btn"/>
              </div>
            </div>
          </div>
     
      </div>

    </div>

  </div>
   
    <script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/jquery-1.8.0.js"></script>
<script type="text/javascript" src="../js/jquery-1.8.0.min.js"></script>
<script src="../js/jquery.validationEngine-en.js" type="text/javascript"></script>
<script src="../js/jquery.validationEngine.js" type="text/javascript"></script>
<script type="text/javascript" src="../js/utility.js"></script>
<!--<script src="../js/jquery.min.js"></script>-->
<script src="../js/bootstrap-modal.js"></script>
 <div id="leftcolumn">
 <div id="leftcolumn_top">
      <div id="addtask" class="modal hide fade in" style="display: none; ">
        <div class="modal-header"> <a class="close" data-dismiss="modal">x</a>
          <h1 style="font-size:15px;padding:7px;font-weight:bold;">Notification's</h1>
        </div>
        <div class="modal-body">
        <table id="tbl_task" class="model_popup_desgin">
  <tr>
    <td><p> You have a recent&nbsp;&nbsp&nbsp;&nbsp;update on date</p></td>
  </tr>
  <tr>
     
   
  </tr>
  <tr>
      
  </tr>
  <tr>
    <td></td>
  </tr>
</table>

          
        </div>
        <div class="modal-footer">  <p><a data-toggle="modal" href="#addtask1" class="btn btn-success" style="font-weight:bold;"><img src="../images/icons/task.png" style="margin-right:7px;" />View</a></p></div>
      </div>
       <div id="addtask1" class="modal hide fade in" style="display: none; ">
        <div class="modal-header"> <a class="close" data-dismiss="modal">x</a>
          <h1 style="font-size:15px;padding:7px;font-weight:bold;">Notification's</h1>
        </div>
        <div class="modal-body1">
        <table id="Table1" class="model_popup_desgin">
  <tr>
    <td>Date of Creation</td>
    <td><p><asp:Label ID="Label3" runat="server" Text="Label" Visible="False"></asp:Label></p></td>
  </tr>
     <tr>
    <td>Last Updated Updated</td>
    <td><p><asp:Label ID="Label4" runat="server" Text="Label"></asp:Label></p></td>
  <td>Choose Agent</td>
      <asp:DropDownList ID="DropDownList2" runat="server" CssClass ="combobox " 
                Visible="False">
      </asp:DropDownList>
 
     
  <tr>
    <td>Add Another Agente Agent</td>
       <asp:TextBox ID="TextBox1" runat="server" Visible="False"></asp:TextBox>
  </tr>
  <tr>
    <td></td>
  </tr>
</table>

          
        </div>
        <div class="modal-footer">  <asp:Button ID="Button3" runat="server" Text="cancel" CssClass="btn btn-success" />
           </div>
      </div>
      
 </div>
    <ul id="nav">
      <li><a href="dashboard.aspx"><img src="../images/icons/home.png" class="menu_icon">Dashboard</a> </li>
      <li><a href="#"><img src="../images/icons/form.png" class="menu_icon">Client Master</a>
        <ul>
          <li><a href="add_new_client.aspx"><img src="../images/icons/tabs.png" class="menu_icon">Add new client</a></li>
          <li><a href="Edit_clients.aspx"><img src="../images/icons/tabs.png" class="menu_icon">Edit Client Record</a></li>
          <li><a href="delete_cleints.aspx"><img src="../images/icons/tabs.png" class="menu_icon">Delete Client Record</a></li>
       
         
        
        
          
        </ul>
      </li>
      <li><a href="#"><img src="../images/icons/paste.png" class="menu_icon">Properties Master</a>
        <ul>
          <li><a href="AddProperty.aspx"><img src="../images/icons/plus.png" class="menu_icon">Property Details</a></li>
         
          <li><a href="admin_search_property.aspx"><img src="../images/icons/zoom.png" class="menu_icon">Search/Edit Property</a></li>
            <li><a href="deletepropertyrecord.aspx"><img src="../images/icons/trash.png" class="menu_icon">Delete Property</a></li>
          
          <li><a href="PropertyReport.aspx"><img src="../images/icons/pages.png" class="menu_icon">Property Reports</a></li>
        </ul>
      </li>
      <li><a href="#"><img src="../images/icons/phone.png" class="menu_icon"> Requests Details</a>
        <ul>
          <li><a href="Add_New_Request.aspx"><img src="../images/icons/form.png" class="menu_icon">Requests </a></li>
  
        <li><a href="deleterequest.aspx"><img src="../images/icons/trash.png" class="menu_icon">Delete Requests </a></li>
       
          <li><a href="adminrequestreport.aspx"><img src="../images/icons/pages.png" class="menu_icon">Reports</a></li>
        </ul>
      </li>
          <li><a href="#"><img src="../images/icons/std2.png" class="menu_icon"> Agent Details</a>
        <ul>
          <li><a href="add_agent.aspx"><img src="../images/icons/plus.png" class="menu_icon">Agent add</a></li>
         
          <li><a href="deleteagent.aspx"> <img src="../images/icons/trash.png" class="menu_icon">Delete Agent</a></li>
          <li><a href="agentreport.aspx"><img src="../images/icons/pages.png" class="menu_icon">Agent Edit/Reports</a></li>
        </ul>
      </li>
  
      <li><a href="#"><img src="../images/icons/search.png" class="menu_icon">Search</a>
        <ul>
          <li><a href="admin_notes.aspx"><img src="../images/icons/paste.png" class="menu_icon">Notes</a></li>
          
         
           <li><a href="search_tasks.aspx"><img src="../images/icons/notice.png" class="menu_icon">Tasks</a></li>
           <li><a href="Property_Sell_Buy_Rent.aspx"><img src="../images/icons/home.png" class="menu_icon">Property to Sell/Buy/Rent</a></li>
          
        </ul>
      </li>
       <li><a href="#"><img src="../images/icons/id.png" class="menu_icon">Account Details</a>
        <ul>
          <li><a href="admin_account_information.aspx"><img src="../images/icons/id.png" class="menu_icon">Update Account Details</a></li>
         
          
        </ul>
      </li>
      <li>&nbsp;&nbsp;&nbsp;<a href="admin-calender.aspx" ><img alt="" class="style1" 
              src="../images/calendar-icon.jpg" /></a>
           </li>
    </ul>
      </li>
    </ul>
  
  </div>
  


   <div id="footer">
    <p> Copyright &copy; 2013. II technology</p>
  </div>

</div>
</form>
</body>
</html>